package com.sporch.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: czy
 */
@Configuration
public class RabbitmqConfig {
    //声明队列
    @Bean("sms")
    public Queue QUEUE_INFORM_SMS() {
        Queue queue=new Queue("sms");
        return queue;
    }
}
